package com.appkubes.fintech.restful.application.repair.dao;

import com.appkubes.fintech.core.pojo.FintechRepairChannelInfoMapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * @Author: Rongjie
 * @Date: 2020/1/5 11:12
 * @Description: CreditDao
 */

@Repository
public interface RepairChannelRepository extends FintechRepairChannelInfoMapper {

    @Select("select max(code) from fintech_repair_channel_info where code like #{code} and lev = #{lev}")
    public String maxCode(String code, Integer lev);

}
